//api 接口 封装
import {axios,get,post} from "./http"

export const ajax={
    //1.获取分类
    bookstype:(params)=>get("/lry/bookstype",params),

    //2.获取书籍章节
    fictionChapte:(params)=>get("/lry/fictionChapte",params),

    //3.获取书籍内容
    fictionContent:(params)=>get("/lry/fictionContent",params),

    //4.漫画分类
    mhtype:(params)=>get("/lry/mhtype",params),

    //5.漫画章节
    cartoonChapter:(params)=>get("/lry/cartoonChapter",params),

    //6.漫画内容
    cartoonContent:(params)=>get("/lry/cartoonContent",params),

    //7.搜索
    search:(params) => get("/lry/search",params),
}